Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Modify the time_eval func in utils.py for killing timeout sub-process #109

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

lzhan94swu
Copy link
Contributor

Issue: pipe broken on Ubuntu 22.04
cause: too many zombie subprocesses are not killed when time out
fix: time_eval in utils.py
environment: python==3.8

P.S. It's my first time to make the open request. I'm not sure if I have an appropriate operation and discussion. If there is any trouble or mistake, please feel free to inform me.

Copy link
Collaborator

@arnaudon arnaudon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice, thanks!

@arnaudon
Copy link
Collaborator

Could you just correct the two little errors, sot github will be happy?

  hcga/utils.py:41:1: W293 blank line contains whitespace
  hcga/utils.py:46:1: W293 blank line contains whitespace

thanks!

@lzhan94swu
Copy link
Contributor Author

I've deleted the whitespaces and pushed the new version. Does that work?

@arnaudon
Copy link
Collaborator

let see, this approval is a pain, I relaxed it...

@lzhan94swu
Copy link
Contributor Author

I set up a python 3.9 virtual env for test and the process got stuck and there was no informative error or exception returned. But everything went well on python 3.8.

@arnaudon
Copy link
Collaborator

Sorry, i forgot this, I fixed the last bugs for making the CI pass, it is good to merge on your side, right?

@arnaudon arnaudon merged commit 8bfdf34 into barahona-research-group:master Apr 15, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants